Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 3 - Window Manager Reference / Window Manager Functions
Collapsing Windows /


CollapseAllWindows

NEW WITH THE APPEARANCE MANAGER

Collapses or expands all windows that are collapsable in an application.

pascal OSStatus CollapseAllWindows (Boolean inCollapseEm);
inCollapseEm
A Boolean value. Set to true to collapse all windows in the application; if false, expands all windows in the application.
function result
A result code; see "Result Codes".
DISCUSSION
Only window definition functions that return the feature bit kWindowCanCollapse in response to a kWindowGetFeatures message support the CollapseAllWindows function; see GetWindowFeatures.

SEE ALSO
"Appearance Manager Gestalt Selector Constants".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998